package com.carl.zlds.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carl.zlds.model.Admin;
import com.carl.zlds.pojo.dto.SaveAdminDTO;

import java.util.Map;

/**
 * @author carl
 */
public interface IAdminService extends IService<Admin> {

    Map<String, Object> login(SaveAdminDTO dto);

    void logout(String token);
}
